public class Sprayer implements AgriculturalMachine {
    private String location = "未定位";

    @Override
    public void operate() {
        System.out.println("喷药机正在喷洒农药...");
    }

    @Override
    public String getStatus() {
        return "喷药机 - 位置: " + location;
    }

    @Override
    public void setLocation(String location) {
        this.location = location;
    }
}